package Practice;

public class Library {
    int num;
    String name;
    String type;

    Library() {
    }

    Library(String name, int num, String type) {

        this.name = name;
        this.num = num;
        this.type = type;
    }

    void show() {
        System.out.println("这是一本名叫" + name + "的书籍,一共有" + num + "本,是" + type + "类型的");
    }

}
